package com.zm.demo.sc.consul.server;

import com.zm.demo.feign.api.UserService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Description: 1
 * Author:      powersi
 * Date:        2021/1/31 22:29
 */
@RestController
public class UserFeignController implements UserService {

    @RequestMapping("/feign/getUser")
    @Override
    public String getUser(String userName) {
        return userName + "feign1";
    }
}
